checkasm: lls: Use relative tolerances rather than absolute ones
authorMartin Storsjö <martin@martin.st>
Fri, 4 Oct 2024 07:22:57 +0000 (10:22 +0300)
committerSebastian Ramacher <sramacher@debian.org>
Sun, 27 Oct 2024 17:31:51 +0000 (18:31 +0100)
commit69b7f900f81ceea249b44c9008dc9b571edbc832
tree8929e8025d67d7647a30de4c372b7c3537473a75
parent6e014de2197d77998648c98f5dad605459de9de6
checkasm: lls: Use relative tolerances rather than absolute ones

Depending on the magnitude of the output values, the potential
errors can be larger.

This fixes errors in the lls tests on x86_32 for some seeds,
observed with GCC 11 (on Ubuntu 22.04, with the distro compiler,
with -m32).

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 6668268e16b6d1a6992840dccb12effece2e7202)

Gbp-Pq: Name 0009-checkasm-lls-Use-relative-tolerances-rather-than-abs.patch
tests/checkasm/lls.c